// 登录响应数据接口定义
export interface LoginDTO {
  accessToken: string;
  refreshToken: string;
  expiresTime: number;
  userId: number;
}

// 获取用户信息接口响应数据定义
export interface UserInfoDTO {
  id: string;
  username: string;
  nickname?: string;
  avatar?: string;
  email?: string;
  phone?: string;
  userType: "admin" | "merchant" | "user";
  permissions?: string[];
  [key: string]: unknown;
}